#ifndef MYGRAFX_H_INCLUDED
#define MYGRAFX_H_INCLUDED


//#include "SDL/SDL.h"
//#include "SDL/SDL_image.h"
//#include <string>


using namespace std;

class mygrafx
{
    private:

    public:
        //Screen attributes
        int SCREEN_WIDTH; //= 800;
        int SCREEN_HEIGHT; //= 600;
        int SCREEN_BPP; //= 32;

        SDL_Surface *screen;
        SDL_Surface *unopt_picture;
        SDL_Surface *picture;
        SDL_Event event;
        SDL_Rect pictureLocation;

        mygrafx();
        mygrafx(char* image_file);

        void apply_surface( int x, int y, SDL_Surface* destination );
        void flip();
        void clean_up();

};


#endif // MYGRAFX_H_INCLUDED
